package com.zk.service;

import com.zk.po.Dynamic;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author kun
 * @since 2022-06-08
 */
public interface DynamicService extends IService<Dynamic> {

    //获取主页的动态
    List<Dynamic> getMainDyamic();

    //获取登录用户的动态
    List<Dynamic> getUserDynamic(List<Dynamic> dynamicList,String id);

    //获取登录用户所关注的人的动态,制作集合
    List<Dynamic> getDynamicByFollow(String id);

    //获取动态的评论,以及楼中楼
    List<Dynamic> getDynamicData(List<Dynamic> dynamicList);


}
